﻿namespace Tests
{
    using System;
    using ClientWF;
    using NUnit.Framework;

    [TestFixture]
    class UTestsModel
    {  
        [Test, TestCaseSource("modelcases")]
        public void recieve(IModel ptestModel)
        {
            string actual = "";            
            string expected = "recived";
            actual = ptestModel.recieve("connectionString", "bla");
            Assert.AreEqual(expected, actual);

        }
        static object[] modelcases =
        {
            new object[] {new ModelMock()},            
            new object[] {new Model(),}
            
        };
    }
}
